home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / dom / nsIDOMLSLoadEvent.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  3KB  |  104 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIDOMLSLoadEvent.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIDOMLSLoadEvent_h__
  6. #define __gen_nsIDOMLSLoadEvent_h__
  7.  
  8.  
  9. #ifndef __gen_nsIDOMEvent_h__
  10. #include "nsIDOMEvent.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17. class nsIDOMLSInput; /* forward declaration */
  18.  
  19.  
  20. /* starting interface:    nsIDOMLSLoadEvent */
  21. #define NS_IDOMLSLOADEVENT_IID_STR "6c16a810-a37d-4859-b557-337341631aee"
  22.  
  23. #define NS_IDOMLSLOADEVENT_IID \
  24.   {0x6c16a810, 0xa37d, 0x4859, \
  25.     { 0xb5, 0x57, 0x33, 0x73, 0x41, 0x63, 0x1a, 0xee }}
  26.  
  27. class NS_NO_VTABLE nsIDOMLSLoadEvent : public nsIDOMEvent {
  28.  public: 
  29.  
  30.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMLSLOADEVENT_IID)
  31.  
  32.   /* readonly attribute nsIDOMDocument newDocument; */
  33.   NS_IMETHOD GetNewDocument(nsIDOMDocument * *aNewDocument) = 0;
  34.  
  35.   /* readonly attribute nsIDOMLSInput input; */
  36.   NS_IMETHOD GetInput(nsIDOMLSInput * *aInput) = 0;
  37.  
  38. };
  39.  
  40. /* Use this macro when declaring classes that implement this interface. */
  41. #define NS_DECL_NSIDOMLSLOADEVENT \
  42.   NS_IMETHOD GetNewDocument(nsIDOMDocument * *aNewDocument); \
  43.   NS_IMETHOD GetInput(nsIDOMLSInput * *aInput); 
  44.  
  45. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  46. #define NS_FORWARD_NSIDOMLSLOADEVENT(_to) \
  47.   NS_IMETHOD GetNewDocument(nsIDOMDocument * *aNewDocument) { return _to GetNewDocument(aNewDocument); } \
  48.   NS_IMETHOD GetInput(nsIDOMLSInput * *aInput) { return _to GetInput(aInput); } 
  49.  
  50. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  51. #define NS_FORWARD_SAFE_NSIDOMLSLOADEVENT(_to) \
  52.   NS_IMETHOD GetNewDocument(nsIDOMDocument * *aNewDocument) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNewDocument(aNewDocument); } \
  53.   NS_IMETHOD GetInput(nsIDOMLSInput * *aInput) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetInput(aInput); } 
  54.  
  55. #if 0
  56. /* Use the code below as a template for the implementation class for this interface. */
  57.  
  58. /* Header file */
  59. class nsDOMLSLoadEvent : public nsIDOMLSLoadEvent
  60. {
  61. public:
  62.   NS_DECL_ISUPPORTS
  63.   NS_DECL_NSIDOMLSLOADEVENT
  64.  
  65.   nsDOMLSLoadEvent();
  66.  
  67. private:
  68.   ~nsDOMLSLoadEvent();
  69.  
  70. protected:
  71.   /* additional members */
  72. };
  73.  
  74. /* Implementation file */
  75. NS_IMPL_ISUPPORTS1(nsDOMLSLoadEvent, nsIDOMLSLoadEvent)
  76.  
  77. nsDOMLSLoadEvent::nsDOMLSLoadEvent()
  78. {
  79.   /* member initializers and constructor code */
  80. }
  81.  
  82. nsDOMLSLoadEvent::~nsDOMLSLoadEvent()
  83. {
  84.   /* destructor code */
  85. }
  86.  
  87. /* readonly attribute nsIDOMDocument newDocument; */
  88. NS_IMETHODIMP nsDOMLSLoadEvent::GetNewDocument(nsIDOMDocument * *aNewDocument)
  89. {
  90.     return NS_ERROR_NOT_IMPLEMENTED;
  91. }
  92.  
  93. /* readonly attribute nsIDOMLSInput input; */
  94. NS_IMETHODIMP nsDOMLSLoadEvent::GetInput(nsIDOMLSInput * *aInput)
  95. {
  96.     return NS_ERROR_NOT_IMPLEMENTED;
  97. }
  98.  
  99. /* End of implementation class template. */
  100. #endif
  101.  
  102.  
  103. #endif /* __gen_nsIDOMLSLoadEvent_h__ */
  104.